package org.geekbang.time.commonmistakes.nosqluse.esvsmyql;


import org.springframework.stereotype.Repository;

@Repository
// public interface NewsESRepository extends ElasticsearchRepository<News, Long> {
public interface NewsESRepository {
    long countByCateidAndContentContainingAndContentContaining(int cateid, String keyword1, String keyword2);
}
